<%@ Page Language="C#" %>
<%@ import Namespace="Sample" %>
<script runat="server">
StuffSection settings;
void Page_Load() {
    settings = (StuffSection)Context.GetConfig("stuff");
}
</script>
<html>
<body>
<p>Config settings:
<ul>
<li>text:           <%= settings.Text %></li>
<li>duration:       <%= settings.Duration %></li>
<li>count:          <%= settings.Count %></li>
<li>description:    <%= settings.Description %></li>

<li>misc:<ul>
<li>name:           <%= settings.Misc.Name %></li>
</ul></li>

<li>other:<ul>
<li>enable:         <%= settings.Other.Enable %></li>
<li>timeout:        <%= settings.Other.Timeout %></li>
</ul></li>

<li>things:<ul><% foreach (ThingsElement t in settings.Things) { %>
<li>&nbsp;<ul>
<li>name:           <%= t.Name %></li>
<li>description:    <%= t.Description %></li>
</ul></li><% } %></ul></li>

<li>moreThings:<ul><% foreach (MoreThingsElement t in settings.MoreThings) { %>
<li>&nbsp;<ul>
<li>id:             <%= t.Id %></li>
<li>name:           <%= t.Name %></li>
<li>moreInfo:       <%= t.MoreInfo %></li>
</ul></li><% } %></ul></li>

</ul>
</p>
</body>
</html>